@echo off

chcp 65001

set ping_website1=111.111.111.111
set ping_website2=111.111.111.111
set ping_website3=111.111.111.111
set temp_upper=65
set temp_lower=10
set component_name=%1%
set main_server_url=http://120.78.181.108:8085/mainServer/sendData
set main_server_send_data="{\"computName\":\"%component_name%\"}"

java -jar detect-cpu-temperature-send-message-0.0.1-SNAPSHOT.jar --ping_website1=%ping_website1% --ping_website2=%ping_website2% --ping_website3=%ping_website3% --temp_upper=%temp_upper% --temp_lower=%temp_lower% --component_name=%component_name% --main_server_url=%main_server_url% --main_server_send_data=%main_server_send_data% >> test.log
